<#include "/common/pagerForm.html">
<form rel="pagerForm" method="post" action="" class="required-validate" onsubmit="return navTabSearch(this)">
<div class="pageHeader">
    <div class="searchBar">
        <ul class="searchContent">
            <li >
            	<label><@label key='operationTaskNum.C,colon'>工序任务单编号：</@label></label> 
            	<input readonly="readonly" type="text" name="operationTaskNum" value="${operationTask.operationTaskNum!''}"/>
            </li>
            
            <li >
            	<label><@label key='operationTaskstatus.C,colon'>工序任务单状态：</@label></label> 
                <select name="statusECode" disabled="disabled">
                    <option value="" ><@label key='all.C'></@label></option>
                    <#if operationTaskStatus??>
                        <#list operationTaskStatus as ecode>
                            <option value="${ecode.eCode!''}" <#if operationTask.statusECode?? && operationTask.statusECode == ecode.eCode> selected</#if> >${ecode.eCodeText!''}</option>
                        </#list>
                    </#if>
                </select>
            </li>                
        </ul>
        <ul class="searchContent">
        	<li >
            	<label><@label key="materialCode.C,colon">物料编号：</@label></label> 
            	<input readonly="readonly" type="text" class="textInput" name="materialCode" value="${operationTask.materialCode!''}" />
            </li>
            <li >
            	<label><@label key="materialText.C,colon">物料描述：</@label></label> 
            	<input readonly="readonly" type="text" class="textInput" name="materialText" value="${operationTask.materialText!''}" />
            </li>
        </ul>
        
        <ul class="searchContent">
            <li>
            	<label><@label key='plannedstartDateTime.C,colon'>计划开始时间：</@label></label> 
            	<input readonly="readonly" type="text" name="plannedStartDateTime" value="${(operationTask.plannedStartDateTime?string("yyyy-MM-dd HH:mm:ss"))?if_exists}"/>
            </li>
        	<li>
        		<label><@label key='plannedendDateTime.C,colon'>计划结束时间：</@label></label> 
        		<input readonly="readonly" type="text" name="plannedendDateTime" value="${(operationTask.plannedendDateTime?string("yyyy-MM-dd HH:mm:ss"))?if_exists}"/> 
        		              
            </li>
        </ul>
        <ul class="searchContent">
            <li>
            	<label><@label key='actualstartDateTime.C,colon'>实际开始时间：</@label></label> 
            	<input readonly="readonly" type="text" name="actualStartDateTime" value="${(operationTask.actualStartDateTime?string("yyyy-MM-dd HH:mm:ss"))?if_exists}"/> 
            </li>
        	<li>
        		<label><@label key='actualendDateTime.C,colon'>实际结束时间：</@label></label> 
        		<input readonly="readonly" type="text" name="actualStartDateTime" value="${(operationTask.actualEndDateTime?string("yyyy-MM-dd HH:mm:ss"))?if_exists}"/> 
        	</li>
        </ul>
        <ul class="searchContent">
        	<li>
        		<label><@label key='orderType.C,colon'>订单类型：</@label></label> 
                <select name="orderTypeCode" disabled="disabled">
                    <option value="" ><@label key='all.C'></@label></option>
                    <#if orderTypes??>
                        <#list orderTypes as orderType>
                            <option value="${orderType.orderTypeCode!''}" <#if operationTask.orderTypeCode?? && operationTask.orderTypeCode == orderType.orderTypeCode> selected</#if> >${orderType.orderTypeText!''}</option>
                        </#list>
                    </#if>
                </select>             
            </li>
            <li>
            	<label><@label key='productionlotNum.C,colon'>生产批次号：</@label></label> 
            	<input readonly="readonly" type="text" name="productionlotNum" value="${operationTask.productionlotNum!''}"/>
            </li>        	
        </ul>
        <ul class="searchContent">        	
            <li>
            	<label><@label key='plannedQuantity.C,colon'>计划数量：</@label></label> 
            	<input readonly="readonly" type="text" name="plannedQuantity" value="${operationTask.plannedQuantity!''}"/>
            </li>
            <li>
            	<label><@label key='completedQuantity.C,colon'>完工数量：</@label></label> 
            	<input readonly="readonly" type="text" name="completedQuantity" value="${operationTask.completedQuantity!''}"/>
            </li>
        </ul>
        <ul class="searchContent">
        	<li>
            	<label><@label key='scrappedQuantity.C,colon'>报废数量：</@label></label> 
            	<input readonly="readonly" type="text" name="scrappedQuantity" value="${operationTask.scrappedQuantity!''}"/>
            </li>
            
        </ul>
        <ul class="searchContent">
        	<li>
            	<label><@label key='customer.C,colon'>客户：</@label></label>
            	<input readonly="readonly" type="text" name="customer" value="${operationTask.customer!''}" />
            </li>
            <li>
            	<label><@label key='customerOrder.C,colon'>客户订单：</@label></label>
            	<input readonly="readonly" type="text" name="customerOrder" value="${operationTask.customerOrder!''}" />
            </li>
        </ul>
        <ul class="searchContent">
        	<li>
            	<label><@label key='priority.C,colon'>优先级：</@label></label>
            	<input readonly="readonly" type="text" name="priority" value="${operationTask.priority!''}" />
            </li>
            <li>
            	<label><@label key='productOrderNum.C,colon'>产品订单编号：</@label></label> 
            	<input readonly="readonly" type="text" name="productOrderNum" value="${operationTask.productOrderNum!''}"/>
            </li>
			
		</ul>
		<ul class="searchContent">
            <li>
            	<label><@label key='productionOrderNum.C,colon'>生产订单编号：</@label></label> 
            	<input readonly="readonly" type="text" name="productionOrderNum" value="${operationTask.productionOrderNum!''}"/>
            </li>
        	<li>
            	<label><@label key='productionControlNum.C,colon'>生产管理号：</@label></label>
            	<input readonly="readonly" type="text" name="productionControlNum" value="${operationTask.productionControlNum!''}" />
            </li>
        </ul>
        <ul class="searchContent">
        	<li>
				<label><@label key='workCenterCode.C,colon'>工作中心：</@label></label> 
				<input readonly="readonly" type="text" name="workCenterCode" value="${operationTask.workCenterCode!''}" />
			</li>			
			<li>
				<label><@label key="workCenterText.C,colon">工作中心描述：</@label></label> 
				<input readonly="readonly" type="text" name="workCenterText" value="${operationTask.workCenterText!''}" />
			</li>
        </ul>
        <ul class="searchContent">
        	<li>
				<label><@label key='plannedWorkUnitCode.C,colon'>计划作业单元名称：</@label></label> 
				<input readonly="readonly" type="text" name="plannedWorkUnitCode" value="${operationTask.plannedWorkUnitCode!''}" />
			</li>			
			<li>
				<label><@label key="plannedWorkUnitText.C,colon">计划作业单元描述：</@label></label> 
				<input readonly="readonly" type="text" name="plannedWorkUnitText" value="${operationTask.plannedWorkUnitText!''}" />
			</li>
        </ul>
        <ul class="searchContent">
            <li >
            	<label><@label key="cmprocess_code.C,colon">工艺编号：</@label></label> 
            	<input readonly="readonly" type="text" class="textInput" name="processCode" value="${operationTask.processCode!''}" />
            </li>
        	<li>
        		<label><@label key='cmprocessrev.C,colon'>工艺版本：</@label></label> 
        		<input readonly="readonly" type="text" name="processRev" value="${operationTask.processRev!''}"/>                
            </li>
        </ul>      
        <ul class="searchContent">
            <li>
            	<label><@label key='operationCode.C,colon'>工序编号：</@label></label> 
            	<input readonly="readonly" type="text" name="operationCode" value="${operationTask.operationCode!''}"/>
            </li>
        	<li>
        		<label><@label key='operationText.C,colon'>工序描述：</@label></label> 
        		<input readonly="readonly" type="text" name="operationText" value="${operationTask.operationText!''}"/>                
            </li>
        </ul>
    </div>
    <#if operationTask??> 
    	<#assign createInfo = operationTask/> 
        <#include "/common/createInfo.html"> 
    </#if>    
    <div class="formBar">
	    <ul>
	        <li>
	            <div class="buttonActive"><div class="buttonContent"><button type="button" class="close">关闭</button></div></div>
	        </li>
	    </ul>
	</div>
</div>

</form>


